home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / RPN Calculator.cpt / RPN Calculator / card_7876.txt < prev    next >
Text File  |  1988-09-16  |  1KB  |  48 lines

  1. -- card: 7876 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2499
  5. -- name: Misc.
  6. ----- HyperTalk script -----
  7. on openCard
  8.   put "Misc." into field "Title"
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: 8003
  16. -- rect: left=440 top=320 right=339 bottom=488
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Next
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   go to next card
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part contents for background part 1
  33. ----- text -----
  34. The [ ! ] key calculates the factorial of x, where 0 <= x <= 54.  If x is not an integer, then the Gamma function of (x+1) is returned.  The error in the Gamma function is <= .0000003
  35.  
  36. If a function (such as [ ! ]) results in a number too long to fit entirely in the x register, clicking [<->] will display the x register in an expanded register under the calculator.  Click in the expanded field to hide it again.
  37.  
  38. The [chs] key changes the sign of the x value.  The [abs] key changes x to its absolute value.
  39.  
  40. The [ % ] key uses x as a percentage and calculates that percentage of y.  
  41.  
  42. The [‚àÜ% ] key put the % change of the value in the y register to the value in the x register.
  43.  
  44.  
  45.  
  46. -- part contents for background part 6
  47. ----- text -----
  48. Misc.